package com.ruoyi.voucher.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

import static io.lettuce.core.pubsub.PubSubOutput.Type.message;

/**
 * 凭证对象 fxy_financial_voucher
 *
 * @author ruoyi
 * @date 2025-02-25
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class FxyFinancialVoucher{
    private Integer id;
    private String word;
    private Integer code;
    private String remark;
    private Integer receiptNum;
    private Integer createMember;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createDate;
    private Double debitAmount;
    private Double creditAmount;
    /*科目id*/
    private Integer accountSetsId;
    private Integer voucherYear;
    private Integer voucherMonth;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date voucherDate;
    private Integer auditMemberId;
    private String auditMemberName;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date auditDate;
    private Byte carryForward;
    private String billList;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getWord() {
        return word;
    }

    public void setWord(String word) {
        this.word = word;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getReceiptNum() {
        return receiptNum;
    }

    public void setReceiptNum(Integer receiptNum) {
        this.receiptNum = receiptNum;
    }

    public Integer getCreateMember() {
        return createMember;
    }

    public void setCreateMember(Integer createMember) {
        this.createMember = createMember;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Double getDebitAmount() {
        return debitAmount;
    }

    public void setDebitAmount(Double debitAmount) {
        this.debitAmount = debitAmount;
    }

    public Double getCreditAmount() {
        return creditAmount;
    }

    public void setCreditAmount(Double creditAmount) {
        this.creditAmount = creditAmount;
    }

    public Integer getAccountSetsId() {
        return accountSetsId;
    }

    public void setAccountSetsId(Integer accountSetsId) {
        this.accountSetsId = accountSetsId;
    }

    public Integer getVoucherYear() {
        return voucherYear;
    }

    public void setVoucherYear(Integer voucherYear) {
        this.voucherYear = voucherYear;
    }

    public Integer getVoucherMonth() {
        return voucherMonth;
    }

    public void setVoucherMonth(Integer voucherMonth) {
        this.voucherMonth = voucherMonth;
    }

    public Date getVoucherDate() {
        return voucherDate;
    }

    public void setVoucherDate(Date voucherDate) {
        this.voucherDate = voucherDate;
    }

    public Integer getAuditMemberId() {
        return auditMemberId;
    }

    public void setAuditMemberId(Integer auditMemberId) {
        this.auditMemberId = auditMemberId;
    }

    public String getAuditMemberName() {
        return auditMemberName;
    }

    public void setAuditMemberName(String auditMemberName) {
        this.auditMemberName = auditMemberName;
    }

    public Date getAuditDate() {
        return auditDate;
    }

    public void setAuditDate(Date auditDate) {
        this.auditDate = auditDate;
    }

    public Byte getCarryForward() {
        return carryForward;
    }

    public void setCarryForward(Byte carryForward) {
        this.carryForward = carryForward;
    }

    public String getBillList() {
        return billList;
    }

    public void setBillList(String billList) {
        this.billList = billList;
    }

    @Override
    public String toString() {
        return "FxyFinancialVoucher{" +
                "id=" + id +
                ", word='" + word + '\'' +
                ", code=" + code +
                ", remark='" + remark + '\'' +
                ", receiptNum=" + receiptNum +
                ", createMember=" + createMember +
                ", createDate=" + createDate +
                ", debitAmount=" + debitAmount +
                ", creditAmount=" + creditAmount +
                ", accountSetsId=" + accountSetsId +
                ", voucherYear=" + voucherYear +
                ", voucherMonth=" + voucherMonth +
                ", voucherDate=" + voucherDate +
                ", auditMemberId=" + auditMemberId +
                ", auditMemberName='" + auditMemberName + '\'' +
                ", auditDate=" + auditDate +
                ", carryForward=" + carryForward +
                ", billList='" + billList + '\'' +
                '}';
    }
}
